.custom-comment-component {
  .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    text {
      margin-bottom: 0;
    }
    .title {
      font-size: 16px;
      font-weight: 500;
      color: #07132b;
      line-height: 22px;
    }
    .sort {
      display: flex;
      align-items: center;
      text {
        font-size: 12px;
        font-weight: 400;
        color: #a6b1bf;
        line-height: 17px;
        position: relative;
        transition: color 0.3s ease-in-out;
        &.active {
          color: #07132b;
        }
        &:first-child {
          margin-right: 17px;
          &::before {
            content: '';
            position: absolute;
            right: -9px;
            top: 2px;
            width: 1px;
            height: 12px;
            background: #f5f7fa;
            border-radius: 1px;
          }
        }
      }
    }
  }

  .comment-list {
    padding: 10px 0;
  }

  .discus-bar-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0px -1px 0px 0px #e6eaf1;
    background-color: #fff;
    z-index: 10000;
  }

  .discus-bar {
    width: 100%;
    padding: 11px 16px;
    display: flex;
    box-sizing: border-box;
    overflow: hidden;
    .input {
      width: 113px;
      flex: 0 0 auto;
      padding: 0px 16px;
      border: none;
      outline: none;
      height: 22px;
      background: #f0f3f7;
      border-radius: 16px;
      font-size: 14px;
      line-height: 22px;
      font-weight: 500;
      color: #07132b;
      &:focus {
        border: none;
        box-shadow: none;
      }
      &:hover {
        box-shadow: none;
        border: none;
      }
      &.focus {
        flex: 1 1 auto;
      }
      &.big {
        width: 191px;
      }
    }
    .input-placeholder {
      font-size: 14px;
      font-weight: 400;
      line-height: 22px;
      color: #babcc5;
    }
    .info-item {
      margin: 0;
      display: flex;
      align-items: center;
      flex: 1 1 auto;
      justify-content: center;
      background-color: transparent;
      padding: 0;
      image {
        width: 44rpx;
        height: 44rpx;
        margin-right: 8rpx;
      }
      .value {
        font-size: 13px;
        color: #07132b;
        line-height: 18px;
        &.red {
          color: #ff4053;
        }
      }
      &.like {
        margin-left: 16px;
      }
    }
    .send-btn {
      flex: 0 0 auto;
      margin-left: 12px;
      width: 52px;
      height: 32px;
      background: #3f60fc;
      border-radius: 16px;
      font-size: 14px;
      color: #ffffff;
      line-height: 20px;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .reply-popup {
    height: 95vh;
    .comment-drawer-header {
      margin: 0 16px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      border-bottom: 1px solid rgba(0, 0, 0, 0.04);
      text {
        font-size: 17px;
        font-weight: 500;
        color: #07132b;
        line-height: 24px;
        margin-bottom: 0px;
      }
      .close-btn {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: -10px;
        image {
          width: 12px;
          height: 12px;
          display: block;
        }
      }
    }
    .reply-list {
      height: calc(95vh - 52px);
      .comment-reply-item-line {
        margin: 0 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
      }
      .all-reply-title {
        margin-top: 12px;
        margin-left: 16px;
        margin-bottom: 0;
        font-size: 16px;
        font-weight: 500;
        color: #07132b;
        line-height: 22px;
        display: block;
      }
    }
  }

  .hasmore {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32rpx 0;
    text {
      margin-left: 16rpx;
      font-size: 24rpx;
      line-height: 40rpx;
      color: #a6b1bf;
    }
  }
}
